package org.exhibition.domain.pojo.exhibition;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.time.LocalDateTime;
@Data
public class UserTicketOrder {
    private Integer id;
    private String identity;
    @JsonProperty("username")
    private String name;
    private int ticketId;
    @JsonProperty("radio")
    private int ticketType;
    @JsonProperty("cost")
    private double ticketCost;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    private int status;
    private String userId;
    @TableField(exist = false)
    private String phone;
}
